package com.boruiimage.demo.doMain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class imgInfo {
    Integer id;
    String userName;
    String imgName;
    String imgDetil;
    String imgResult;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    Date date;
    String imgType;
    double payMoney;
    String payType;
    Integer eliserId;
    String imgCard;
    String imgAddress;
    public imgInfo(Integer id, String userName, String imgName, String imgDetil, String imgResult, Date date, String imgType, double payMoney, String payType,Integer eliserId,String imgCard,String imgAddress) {
        this.id = id;
        this.userName = userName;
        this.imgName = imgName;
        this.imgDetil = imgDetil;
        this.imgResult = imgResult;
        this.date = date;
        this.imgType = imgType;
        this.payMoney = payMoney;
        this.payType = payType;
        this.eliserId=eliserId;
        this.imgCard=imgCard;
        this.imgAddress=imgAddress;
    }

    public imgInfo(String userName, String imgName, String imgDetil, String imgResult, Date date, String imgType, double payMoney, String payType,Integer eliserId,String imgCard,String imgAddress) {
        this.userName = userName;
        this.imgName = imgName;
        this.imgDetil = imgDetil;
        this.imgResult = imgResult;
        this.date = date;
        this.imgType = imgType;
        this.payMoney = payMoney;
        this.payType = payType;
        this.eliserId=eliserId;
        this.imgCard=imgCard;
        this.imgAddress=imgAddress;
    }

    public imgInfo() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getImgName() {
        return imgName;
    }

    public void setImgName(String imgName) {
        this.imgName = imgName;
    }

    public String getImgDetil() {
        return imgDetil;
    }

    public void setImgDetil(String imgDetil) {
        this.imgDetil = imgDetil;
    }

    public String getImgResult() {
        return imgResult;
    }

    public void setImgResult(String imgResult) {
        this.imgResult = imgResult;
    }

    public String getImgCard() {
        return imgCard;
    }

    public void setImgCard(String imgCard) {
        this.imgCard = imgCard;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getImgType() {
        return imgType;
    }

    public void setImgType(String imgType) {
        this.imgType = imgType;
    }

    public double getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(double payMoney) {
        this.payMoney = payMoney;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public Integer getEliserId() {
        return eliserId;
    }

    public void setEliserId(Integer eliserId) {
        this.eliserId = eliserId;
    }

    public String getImgAddress() {
        return imgAddress;
    }

    public void setImgAddress(String imgAddress) {
        this.imgAddress = imgAddress;
    }

    @Override
    public String toString() {
        return "imgInfo{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", imgName='" + imgName + '\'' +
                ", imgDetil='" + imgDetil + '\'' +
                ", imgResult='" + imgResult + '\'' +
                ", date=" + date +
                ", imgType='" + imgType + '\'' +
                ", payMoney=" + payMoney +
                ", payType='" + payType + '\'' +
                ", eliserId='" + eliserId + '\'' +
                ", imgCard='" + imgCard + '\'' +
                ", imgAddress='" + imgAddress + '\'' +
                '}';
    }
}
